package com.wl.common.system.support.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * @author: wanglin
 * @date: 2023-10-20 周五
 * @Version: 1.0
 * @Description:
 */
@Data
public class ResetPasswordDTO {
    @NotBlank(message = "用户id不能为空")
    @Schema(required = true, description = "用户id")
    private String userId;

    @Size(min = 6, max = 16, message = "码长度为6~16个字符")
    @NotBlank(message = "用户密码不能为空")
    @Schema(required = true, description = "用户密码")
    private String password;
}
